package com.cloudkinto.vo.dic.dicBusiness;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/5/19 15:20
 * @description:
 */
@Data
public class DicBusinessAddReq {

    @ApiModelProperty("0表示是单位码表 1表示非单位码表")
    @NotNull(message = "请字典项类型 0代表单位 1代表非单位")
    private Integer dicType;

    @ApiModelProperty("字典大项名")
    @NotBlank(message = "请输入字典大项名称")
    private String dicName;

    @ApiModelProperty("字典大项信息描述")
    private String dicDescription;
}
